<div><p><a href="<?=$cf['systemurl']?>mem/user/panel" title="User Panel">Index</a> | 
<a href="<?=$cf['systemurl']?>mem/user/view" title="View Profile">View profile</a> | 
<a href="<?=$cf['systemurl']?>mem/user/edit" title="Change Profile">Change profile</a> | 
<a href="<?=$cf['systemurl']?>mem/user/changepass" title="Change Password">Change password</a> | 
<?php
if($cf['deleteself']){
	echo '<a href="'.$cf['systemurl'].'mem/user/delete" title="Delete Your Account">Delete Your Account</a> | ';
}
if($this->authen->checkAdmin()){
	echo '<a href="'.$cf['systemurl'].'mem/admin/panel" title="Admin page">Admin</a> | ';
}
?>
<a href="<?=$cf['systemurl']?>mem/sys/logout" title="Logout">logout</a></p></div>